VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form FrmTexto 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Cargar Glosa de Articulos"
   ClientHeight    =   6330
   ClientLeft      =   45
   ClientTop       =   390
   ClientWidth     =   9540
   Icon            =   "FrmTexto.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MDIChild        =   -1  'True
   MinButton       =   0   'False
   ScaleHeight     =   6330
   ScaleWidth      =   9540
   ShowInTaskbar   =   0   'False
   Begin RichTextLib.RichTextBox RtbTextoGrande 
      Height          =   5955
      Left            =   15
      TabIndex        =   0
      Top             =   375
      Width           =   9540
      _ExtentX        =   16828
      _ExtentY        =   10504
      _Version        =   393217
      ScrollBars      =   3
      MaxLength       =   8000
      TextRTF         =   $"FrmTexto.frx":000C
   End
   Begin VB.Label LblCancelar 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H00C0C0C0&
      BorderStyle     =   1  'Fixed Single
      Caption         =   "&Cancelar"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H80000008&
      Height          =   300
      Left            =   8550
      TabIndex        =   2
      Top             =   30
      Width           =   930
   End
   Begin VB.Label LblAceptar 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H00C0C0C0&
      BorderStyle     =   1  'Fixed Single
      Caption         =   "&Aceptar"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H80000008&
      Height          =   300
      Left            =   7515
      TabIndex        =   1
      Top             =   30
      Width           =   930
   End
End
Attribute VB_Name = "FrmTexto"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = 27 Then LblAceptar_Click
End Sub

Private Sub Form_Load()
Call CentraPantalla(Me)
End Sub

Private Sub LblAceptar_Click()
If fabccabOrdCompra.Tag = "A" Or fabccabOrdCompra.Tag = "M" Then
    Rs_DetalleDocu("Observacion") = Trim$(RtbTextoGrande.Text)
    Rs_DetalleDocu.Update
    Unload Me
End If
End Sub

Private Sub LblCancelar_Click()
Unload Me
End Sub
